//*****************************************************************************
//
// ABEC data file
// Project: SP38
//
//*****************************************************************************

// Vertex coordinates for enclosure
// sealed and vented specified with the help of
// section Formula.

// Because this file is already embedded in the main-script
// we do not need to reembed "Formula.txt" here."

// Name of Node-section is "NF"
// Each line corresponds to the coordinates of a point.
// Specification is <Index> <x> <y> <z>

// Formula are assigned to <x> <y> <z> with the help of curley brackets "{ }"
// Identifiers such as Wc and Hc and so on are results of the global
// section Formula.


Nodes   "NF"
  // Exterior--------------------
  // Front wall
  2001    0.0       0.0           {Hc + 2*tc}
  2002    0.0     {Wc/2 + tc}     {Hc + 2*tc}
  2003    0.0     {Wc/2 + tc}     0.0
  2004    0.0       0.0           0.0

  // Rear wall
  2201   {-Dc - 2*tc}      0.0           {Hc + 2*tc}
  2202   {-Dc - 2*tc}    {Wc/2 + tc}     {Hc + 2*tc}
  2203   {-Dc - 2*tc}    {Wc/2 + tc}     0.0
  2204   {-Dc - 2*tc}      0.0           0.0

  // Vent opening
  2011  0.0        0.0      {Pv}
  2012  0.0        0.0      {Pv + Hv}
  2013  0.0       {Wv/2}    {Pv + Hv}
  2014  0.0       {Wv/2}    {Pv}
  2015  0.0        0.0      {Pv + Hv/2}  // Center vent

  // Diaphragm front side
  3000  0.0       0.0           {Pd}        // Center diaphragm
  3001  0.0       0.0           {Pd - dD/2}
  3002  0.0     {dD/2}          {Pd - dD/2}
  3003  0.0     {dD/2}          {Pd + dD/2}  
  3004  0.0       0.0           {Pd + dD/2}
  3005  0.0     {Wc/2 + tc}     {Pv}
  3006  0.0     {Wc/2 + tc}     {Pv + Hv}
  3007  0.0     {Wc/2 + tc}     {Pd - dD/2}
  3008  0.0     {Wc/2 + tc}     {Pd + dD/2}
  3009  0.0     {Wc/2 + tc}     {Pd}

  // Interior ------------------
  // Front wall
  12001  {-tc}       0.0        {Hc + tc}
  12002  {-tc}     {Wc/2}       {Hc + tc}
  12003  {-tc}     {Wc/2}       {tc}
  12004  {-tc}       0.0        {tc}
  12005  {-tc}     {Wc/2}       {Pv + Hv}
  12006  {-tc}     {Wc/2}       {Pv}

  // Tunnel
  12011  {-tc}      0.0         {Pv}  // To the front
  12012  {-tc}      0.0         {Pv + Hv}
  12013  {-tc}      {Wv/2}      {Pv + Hv}
  12014  {-tc}      {Wv/2}      {Pv}
  12015  {-Dv}      0.0         {Pv}  // To the rear
  12016  {-Dv}      0.0         {Pv + Hv}
  12017  {-Dv}      {Wv/2}      {Pv + Hv}
  12018  {-Dv}      {Wv/2}      {Pv}
  
  // Rear wall
  12201  {-Dc - tc}    0.0      {Hc + tc}
  12202  {-Dc - tc}  {Wc/2}     {Hc + tc}
  12203  {-Dc - tc}  {Wc/2}     {tc}
  12204  {-Dc - tc}    0.0      {tc}

  // Diaphragm inner side
  13000  {-tc}       0.0        {Pd}
  13001  {-tc}       0.0        {Pd - dD/2}
  13002  {-tc}     {dD/2}       {Pd - dD/2}
  13003  {-tc}     {dD/2}       {Pd + dD/2}
  13004  {-tc}       0.0        {Pd + dD/2}
  13005  {-tc}     {Wc/2}       {Pv}
  13006  {-tc}     {Wc/2}       {Pv + Hv}
  13007  {-tc}     {Wc/2}       {Pd - dD/2}
  13008  {-tc}     {Wc/2}       {Pd + dD/2}

